/**
* @author AlbertDarren
* @contact 2563491540@qq.com
*/
#include <cstdio>

using namespace std;
const double PI=3.14;
int main_13()
{
    double r;
    scanf("%lf",&r);
    printf("%.2lf\n",2*PI*r);
	return 0;
}
